* {
    padding: 0;
    margin: 0;
}

html,
body {
    height: 100%;
}

body{
    display: flex;
    position: relative;
}

nav{
    width: 200px;
    background-color: rgb(46, 59, 99);
    color: #ccc;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

nav .nav-title{
    line-height: 60px;
    font-weight: 700;
    text-align: center;
    padding: 0;
}

nav>div{
    padding-left: 40px;
    text-align: left;
    line-height: 50px;
}

nav ul{
    background-color: rgb(16, 19, 74);
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
}

nav ul li{
    flex: auto;
    line-height: 100%;
}

section{
    flex: 1;
}

section .header{
    line-height: 60px;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    border-bottom: 2px solid #ccc;
}

section .header .userimg{
    display: inline-block;
    width: 20px;
    border-radius: 50%;
}

section .header .userimg img{
    width: 100%;
    border-radius:  50%;
}

section .title{
    line-height: 30px;
    padding-left: 10px;
    border-bottom: 2px solid rgb(185, 184, 184);
}

section .title div{
    border:  1px solid gray;
    display: inline-block;
    padding: 0 5px;
}

section .title span{
    background-color: blue;
    display: inline-block;
    color: #ccc;
    padding: 0 5px;
}

section .content{
    padding: 10px;
}

section .content .find{
    line-height: 60px;
}

section .content .find input {
    width: 280px;
    height: 38px;
    border: 1px solid #ccc;
    padding-left: 20px;
    margin-right: 10px;
}

section .content button {
    padding: 0 20px;
    height: 38px;
    border: 1px solid;
    border-radius: 2px;
    cursor: pointer;
    background-color: white;
}

section .content .btn1{
    background-color: blue;
    color: white;
}

section .content .add{
    background-color: aqua;
    color:blue;
}

section .content .gai{
    background-color: greenyellow;
    color:green;
}

section .content .del{
    background-color: rgb(237, 118, 118);
    color:red;
}

section .content .out{
    background-color: orange;
    color:orangered;
}


section .content table {
    width: 70%;
    text-align: center;
    line-height: 40px;
}

section .content table thead tr th:first-child,
section .content table tbody tr td:first-child {
    text-align: left;
}

section .content table tbody tr td:nth-child(6) {
    padding: 0 10px;
    color: white;
    border-radius: 10px;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    background-color: rgb(55, 202, 48);
}

section .content table tbody tr td.bac {
    background-color: red;
}

section .content .change {
    text-align: center;
    line-height: 60px;
}

section .content .change .ss {
    display: inline-block;
    width: 35px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 5px;
    cursor: pointer;
    line-height: 30px;
}

section .content .change .page{
    background-color: blue;
    color: white;
}

.add-box{
    position: absolute;
    top: 200px;
    left: 400px;
    background-color: white;
    width: 400px;
    height: 300px;
    padding: 10px;
    border: 1px solid #ccc;
    display: none;
}
.add-box .add-title{
    line-height: 50px;
    font-size: 22px;
}

.add-box .block {
    width: 100%;
    margin: 20px 0;
    overflow: hidden;
    line-height: 50px;
}

.add-box .block input {
    width: 300px;
    height: 30px;
    border-radius: 5px;
    border: 2px solid #ccc;
    box-sizing: border-box;
    padding-left: 10px;
}

.add-box .btn{
    line-height: 50px;
    padding-left: 160px;
}

.add-box .btn1{
    background-color: blue;
    color: white;
    line-height: 100%;
    padding: 10px;
    cursor: pointer;
    border: none;
}
.add-box .btn2{
    line-height: 100%;
    padding: 10px;
    cursor: pointer;
    border: none;
}